//************************************************ 
//  *Author：jxx
//  *QQ：283591387
//  *代码由框架生成,任何更改都可能导致被代码生成器覆盖
//  *业务请在hv_product.js中编写
//************************************************ 
export default function() {
	return {
		editFormFields: {"source":"","number":"","weight":"","qrcode":"","type":""},
		editFormOptions: [{"title":"来源","field":"source"},
                               {"title":"数量","field":"number"},
                               {"title":"重量","field":"weight"},
                               {"title":"二维码","field":"qrcode"},
                               {"title":"类型","field":"type"}],
		searchFormFields: {"Creator":"","createdate":"","source":"","number":"","weight":"","qrcode":"","type":""},
		searchFormOptions: [{"title":"创建人","field":"Creator"},{"title":"创建时间","field":"createdate"},{"title":"来源","field":"source"},{"title":"数量","field":"number"},{"title":"重量","field":"weight"},{"title":"二维码","field":"qrcode"},{"title":"类型","field":"type"}],
		columns: [{field:'Creator',title:'创建人',type:'string'},
                       {field:'createdate',title:'创建时间',type:'datetime'},
                       {field:'Modifier',title:'修改人',type:'string'},
                       {field:'modifydate',title:'修改时间',type:'datetime'},
                       {field:'source',title:'来源',type:'string'},
                       {field:'number',title:'数量',type:'string'},
                       {field:'weight',title:'重量',type:'string'},
                       {field:'qrcode',title:'二维码',type:'string'},
                       {field:'type',title:'类型',type:'string '}],
		table: {
			key: 'id',
			footer: "Foots",
			cnName: 'HV查询界面',
			name: 'hv_product',
			url: "/hv_product/",
			sortName: "createdate"
		}
	}
}
